Crate completest_pty
source ·Available on Unix only.
Expand description
Run completions for your program
§Example
let term = completest_pty::Term::new();
let mut runtime = completest_pty::BashRuntime::new(bin_root, home).unwrap();
runtime.register("foo", completion_script).unwrap();
let output = runtime.complete("foo \t\t", &term).unwrap();
Structs§
- Bash runtime
- Abstract factory for
BashRuntime
- Elvish runtime
- Abstract factory for
ElvishRuntime
- Fish runtime
- Abstract factory for
FishRuntime
- Terminal that shell’s will run completions in
- Zsh runtime
- Abstract factory for
ZshRuntime
Traits§
- Run completions for a shell
- Abstract factory for
Runtime